<div class="menu fl">
    <ul id="mnParent" class="menu_amzcr">
        <?php foreach ($aryRootCategory as $key => $value) {?>
            <li class="mndrop">
                <a class="cname" href="<?php echo $root_page; ?>/danhmuc/<?php echo $value['category_id']; ?>/<?php echo $value['category_name_filter']; ?>.html"><span class="icon_686 fl"></span><?php echo $value['category_name']; ?></a>
                <div id="sub_686" class="sub hide" style="display: none;">
                    <a class="cname subcname" href="<?php echo $root_page; ?>/danhmuc/<?php echo $value['category_id']; ?>/<?php echo $value['category_name_filter']; ?>.html"><?php echo $value['category_name']; ?></a>
                    <div class="col">
                    <?php foreach ($arySubCategory as $key_sub => $sub_value) {?>
                        <?php if ($sub_value['parent_id'] == $value['category_id']) {?>
                        <div style="padding-left: 0px;"><a href="<?php echo $root_page; ?>/danhmuc/<?php echo $sub_value['category_id']; ?>/<?php echo $sub_value['category_name_filter']; ?>.html" class="link normal"><?php echo $sub_value['category_name']; ?></a></div>
                        <?php } ?>
                    <?php } ?>
                </div>
                <div class="col"></div>
                <img alt="<?php echo $value['category_name']; ?>" src="<?php echo $sub_domain; ?>/images/upload/lager/<?php echo $value['category_large_image'] ?>" class="imgadvertise">
                </div>
            </li>
<?php } ?>
    </ul>
</div>